package net.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.dao.RasgoClaseDao;
import net.model.RasgoClase;
import net.service.RasgoClaseManager;

@Service
public class RasgoClaseManagerImpl implements RasgoClaseManager {

	@Autowired
	private RasgoClaseDao rasgoClaseDao;

	@Transactional
	public List<RasgoClase> getAllRasgoClase() {
		return rasgoClaseDao.getAllRasgoClase();
	}

	@Transactional
	public void saveRasgoClase(RasgoClase rasgoClase) {
		rasgoClaseDao.saveRasgoClase(rasgoClase);
	}

}
